<html>
	<head>
		<title>Tuga Turtle</title>
		<link rel="shortcut icon" href="/favicon.ico"/>
		<style>
			body {
				width: 40em;
			}
			h1 {
				margin-bottom: 0.3em;
			}
		</style>
	</head>
	<body>
		<table>
			<tr>
				<td><img src="turtle128.png"/></td>
				<td style="padding-left:1em">
					<h1>Tuga Turtle</h1>
					<div class="subtitle">JRuby Turtle Graphics</div>
				</td>
			</tr>
		</table>
		<p>
			Tuga Turtle is a simple turtle graphics programming system
			I designed for my son. It uses the Ruby programming language
			which can be expressed in simple forms. On the plus side,
			Ruby is also a language used professionally for web
			programming and in many other fashions.
		</p>
		<p>
			Here's
			<a href="http://members.capmac.org/~orb/blog.cgi/tech/ruby/Teaching_my_kid_Ruby.html">a review</a>
			of Tuga Turtle.
		</p>
		<p>
			Here's an example of a simple program that draws a green square:
		</p>
		<pre>
color green
4.times do
	turn right
	walk 500
end
		</pre>
		<p>
			Tuga Turtle is free for home, school, or even commercial use (if you can find one).
			It requires Java 5 or higher.
		</p>
		<p>
			<a href="tugaturtle.jnlp">Run Tuga Turtle here (about 1.5 MB total).</a>
		</p>
		<p>
			Accept the certificate in order to run the application.
			(You usually implicitly give the same trust to any other app you download.)
			For more examples and ideas, click the "Programs..." button and
			then the "Examples" tab.
		</p>
		<p style="font-size:small;border-top:1px solid gray;padding-top:1em">
			From <a href="http://bagotricks.com/">Bag O' Tricks</a>.<br/><br/>
			Version 4: 2007-01-27. Pen color can be changed.<br/>
			Version 3: 2007-01-23. Auto-indent and block indent/dedent supported.<br/>
			Version 2: 2007-01-16. Requires Java 5. Uses Web Start. Faster drawing with lots of lines (no longer N squared).<br/>
			Version 1: 2006-04-11.
		</p>
	</body>
</html>
